import numpy as np

a = np.arange(5)
print(a)

a = np.arange(5, dtype=float)
print(a)

a = np.arange(10, 20, 2)
print(a)

a = np.linspace(1, 10, 4)
print(a)

a = np.linspace(10, 30, 5, endpoint=False)
print(a)

a = np.linspace(1, 10, 5).reshape([5, 1])
print(a)

a = np.logspace(1.0, 4.0, num=10)
print(a)

a = np.logspace(0, 9, num=10, base=2)
print(a)
